<?php

include("inc/functions.php");

if($_SESSION['name'])
{
   header("Location: /me");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" >

<head> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
	<title><? echo returnName(); ?>: Make friends, join the fun, get noticed!</title>
</head>

<link rel="shortcut icon" href="http://mirandabuzz.dyndns.org/images/favicon.ico" type="image/vnd.microsoft.icon" /> 

<style>
body
{
	margin: 10px;
	padding: 10px;
	color: #FFFFFF;
	background-color: #000000;
}
#font
{
    text-align: left;
	font-size: 10px;
	font-family: Verdana;
}

</style><script>
	window.name = "frontpage_1bebbbde7737f4d8c372c56334ae69c06685365c";
	function openRegistration()
	{  
		regWindow = window.open("register", "registration_1bebbbde7737f4d8c372c56334ae69c06685365c", "width=500,height=550,scrollbars=yes");
  		regWindow.focus();
	}
	function openSafety()
	{  
		regWindow = window.open("SAFTEY URL", "safety_1bebbbde7737f4d8c372c56334ae69c06685365c", "width=500,height=600,scrollbars=yes");
  		regWindow.focus();
	}
</script>

<br><center>
	<table cellspacing=0 cellpadding=0 style="height: 60px;">

		<tr>			
		<td style="vertical-align: top;">
		<img src='img/logo.gif'>
			</td>			
			<td style="width: 50px;"></td>			
			<td style="vertical-align: top;">
				<form method="post" action="security_check"><table cellspacing=0 cellpadding=0>
					<tr>
						<td id="font" style="vertical-align: top;">
							Username:<br><div style="padding: 2px;"></div>

							<input style="margin: 1px;" type="text" name="user" value="" maxlength="48"/>
						</td>						<td style="width: 5px;"></td>
						<td id="font" style="vertical-align: top;">
							Password:<br><div style="padding: 2px;"></div>
							<input style="margin: 1px;" type="password" name="pass" value="" maxlength="48"/>
						</td>						<td style="width: 10px;"></td>
						<td>

							<div style="height: 9px;"></div>
							<input onmouseover="document.getElementById('login').style.backgroundImage='url(img/btn_login_light.gif)';" onmouseout="document.getElementById('login').style.backgroundImage='url(img/btn_login.gif)';" id="login" name="login" type="submit" value="" style="cursor: pointer; background-image:url(img/btn_login.gif); background-repeat:no-repeat; width: 96px; height: 33px; border: none;" />
						</td>
					</tr>
				</table></form>			
				</td>			
				<td style="vertical-align: top; width: 190px;"></td>			
				<td id="font" style="vertical-align: top; font-size: 11px;">
				<br><br><center>
					<strong>1</strong> <? echo returnName(); ?>'s online
				</center>

			</td>
		</tr>
	</table>
		<div><img src="http://mirandabuzz.dyndns.org/images/line.gif" style="width: 890px; height: 1px;"></div>
	<table>
		<tr>
			<td onclick="openRegistration();" style="cursor: arrow; vertical-align: top; background-image: url(img/hotel_view_low_BB.png); width: 890px; height: 391px;">
				<div style="text-align: left; float: left;" id="font">
					<a href='#' style="color: #FFFFFF; text-decoration: none;">

						<center><div style="font-size: 15px;"><strong>New to <?php echo returnName(); ?>?</strong> <font style="text-decoration: none; color: #8F8F8F; font-size: 12px;">Click here to</font></center>
						<br><div onmouseover="document.getElementById('register').style.backgroundImage='url(img/btn_register_light.gif)';" onmouseout="document.getElementById('register').style.backgroundImage='url(img/btn_register.gif)';" id="register" name="register" type="submit" style="cursor: pointer; background-image:url(img/btn_register.gif); background-repeat:no-repeat; width: 223px; height: 112px; text-indent: -999em; border: none;" /></font>
					</a>
				</div>
			</td>
		</tr>
	</table>

</center>
<br><center><div style="text-align: center; color: #727272; width: 500px;" id="font">
<a href='./index' style='color: #B3B3B3'>Frontpage</a> | <a href='#' onclick='openSafety();' style='color: #B3B3B3'>Safety</a><br><br><b>&reg; 2010 - 2011 This hotel (Site and Server)</b> - This Hotel stands in no part with common sites as Sulake or Habbo Hotel. The liable person is the Hotel owner.</div></center>